home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / maze.1 < prev    next >
Text File  |  1995-07-25  |  8KB  |  199 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111))))      XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((7777----mmmmaaaarrrr----99993333))))      XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           maze - an automated X11 demo repeatedly creating and solving
  10.           a random maze
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           mmmmaaaazzzzeeee [-display _h_o_s_t:_d_i_s_p_l_a_y._s_c_r_e_e_n] [-foreground _c_o_l_o_r]
  14.           [-background _c_o_l_o_r] [-window] [-root] [-install] [-visual
  15.           _v_i_s_u_a_l] [-grid-size _p_i_x_e_l_s] [-live-color _c_o_l_o_r] [-dead-color
  16.           _c_o_l_o_r] [-solve-delay _u_s_e_c_s] [-pre-delay _u_s_e_c_s] [-post-delay
  17.           _u_s_e_c_s]
  18.  
  19.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.           The _m_a_z_e program creates a "random" maze and then solves it
  21.           with graphical feedback.
  22.  
  23.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  24.           _m_a_z_e accepts the following options:
  25.  
  26.           ----wwwwiiiinnnnddddoooowwww Draw on a newly-created window.  This is the
  27.                   default.
  28.  
  29.           ----rrrrooooooootttt   Draw on the root window.
  30.  
  31.           ----iiiinnnnssssttttaaaallllllll
  32.                   Install a private colormap for the window.
  33.  
  34.           ----vvvviiiissssuuuuaaaallll _v_i_s_u_a_l
  35.                   Specify which visual to use.  Legal values are the
  36.                   name of a visual class, or the id number (decimal or
  37.                   hex) of a specific visual.
  38.  
  39.           ----ggggrrrriiiidddd----ssssiiiizzzzeeee _p_i_x_e_l_s
  40.                   The size of each block of the maze, in pixels;
  41.                   default is 0, meaning pick a random grid size.
  42.  
  43.           ----lllliiiivvvveeee----ccccoooolllloooorrrr _c_o_l_o_r
  44.                   The color of the path.
  45.  
  46.           ----ddddeeeeaaaadddd----ccccoooolllloooorrrr _c_o_l_o_r
  47.                   The color of the failed path (it is also stippled
  48.                   with a 50% pattern.)
  49.  
  50.           ----ssssoooollllvvvveeee----ddddeeeellllaaaayyyy _i_n_t_e_g_e_r
  51.                   Delay (in microseconds) between each step of the
  52.                   solution path.  Default 5000, or about 1/200th
  53.                   second.
  54.  
  55.           ----pppprrrreeee----ddddeeeellllaaaayyyy _i_n_t_e_g_e_r
  56.                   Delay (in microseconds) between generating a maze
  57.                   and starting to solve it.  Default 2000000 (2
  58.                   seconds.)
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 6/30/95)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111))))      XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((7777----mmmmaaaarrrr----99993333))))      XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111))))
  71.  
  72.  
  73.  
  74.           ----ppppoooosssstttt----ddddeeeellllaaaayyyy _i_n_t_e_g_e_r
  75.                   Delay (in microseconds) after solving a maze and
  76.                   before generating a new one.  Default 4000000 (4
  77.                   seconds.)
  78.  
  79.           Clicking the mouse in the maze window controls it.
  80.  
  81.           LLLLeeeeffffttttBBBBuuuuttttttttoooonnnn      Clears the window and restarts maze.
  82.  
  83.           MMMMiiiiddddddddlllleeeeBBBBuuuuttttttttoooonnnn    Pause or unpause the program.
  84.  
  85.           RRRRiiiigggghhhhttttBBBBuuuuttttttttoooonnnn     Exit.
  86.  
  87.      BBBBUUUUGGGGSSSS
  88.           Expose events force a restart of maze.
  89.  
  90.           Mouse actions are based on "raw" values (Button1, Button2
  91.           and Button3) instead of using the pointer map.
  92.  
  93.      EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
  94.           DDDDIIIISSSSPPPPLLLLAAAAYYYY to get the default host and display number.
  95.  
  96.           XXXXEEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
  97.                   to get the name of a resource file that overrides
  98.                   the global resources stored in the RESOURCE_MANAGER
  99.                   property.
  100.  
  101.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  102.           XXXX(1), xxxxssssccccrrrreeeeeeeennnnssssaaaavvvveeeerrrr(1)
  103.  
  104.      CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
  105.           Copyright c 1988 by Sun Microsystems, Inc. Mountain View,
  106.           CA.
  107.  
  108.           All Rights Reserved
  109.  
  110.           Permission to use, copy, modify, and distribute this
  111.           software and its documentation for any purpose and without
  112.           fee is hereby granted, provided that the above copyright
  113.           notice appear in all copies and that both that copyright
  114.           notice and this permission notice appear in supporting
  115.           documentation, and that the names of Sun or MIT not be used
  116.           in advertising or publicity pertaining to distribution of
  117.           the software without specific prior written permission. Sun
  118.           and M.I.T.  make no representations about the suitability of
  119.           this software for any purpose. It is provided "as is"
  120.           without any express or implied warranty.
  121.  
  122.           SUN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  123.           INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  124.           FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SUN BE
  125.           LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 6/30/95)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111))))      XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((7777----mmmmaaaarrrr----99993333))))      XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111))))
  137.  
  138.  
  139.  
  140.           ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  141.           PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  142.           OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
  143.           THE USE OR PERFORMANCE OF THIS SOFTWARE.
  144.  
  145.      AAAAUUUUTTTTHHHHOOOORRRR((((ssss))))
  146.           Jim Randell    [ XScreenSaver version ] jmr@mddjmr.fc.hp.com
  147.             HPLabs, Bristol
  148.           Richard Hess   [ X11 extensions ]       {...}!uunet!cimshop!rhess
  149.             Consilium, Mountain View, CA
  150.           Dave Lemke     [ X11 version ]          lemke@sun.COM
  151.             Sun MicroSystems, Mountain View, CA
  152.           Martin Weiss   [ SunView version ]
  153.             Sun MicroSystems, Mountain View, CA
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.      Page 3                                          (printed 6/30/95)
  196.  
  197.  
  198.  
  199.